<script type="text/javascript">
$(function(){
	//$("#fileUpload").submit(function(){
		//var data = $(this).serialize();
		//jQuery.post("/Wyn/album/uploadImage",data,function(){
		//	alert("上传成功!");
	//	});
//		return false;
//	});
});
</script>
<div class="album-main">
	<input type="hidden" id="albumIdHidden" value="${album.id}">
	<div class="function-nav clearfix">
		<a href="http://upload.renren.com/index.do?id=567951954&amp;ref=1002"
			class="upload flashUploader fromAlbum" target="_blank">上传照片</a>

		<ul class="nav-btn">
			<li class="editi-button"><a href="javascript:;"
				data-info="{album:567951954,owner:278271144}">编辑</a></li>
			<li class="pipe">|</li>
			<li class="delete-button"><a
				href="http://photo.renren.com/photo/278271144/album-567951954/delete"
				data-info="{owner:278271144, album:567951954 }">删除</a></li>
			<li id="photo_editPipe" class="pipe">|</li>
			<li id="edit-buttonContainer" class="pub-comment-button"><a
				href="javascript:void(0)" id="edit-button">批量操作</a>
				<div
					style="margin-left: 15px; margin-top: -33px; margin-right: 0px; position: absolute; _margin-left: -30px; _margin-top: -15px;">
					<img src="http://a.xnimg.cn/imgpro/icons/new-bullet.gif">
				</div></li>



			<li class="pipe">|</li>
			<li class="copy-link"><a onclick="return false;" href="#nogo"
				id="copyLinkToShare">复制链接</a></li>
		</ul>

	</div>
    <div>
	    <form id="fileUpload" name="fileUpload" action="/Wyn/album/uploadImage" method="post" enctype="multipart/form-data">
	   	<label for="fileUpload_userImage" class="label">User Image:</label>
		<input type="file" name="userImage" value="" id="fileUpload_userImage"/>
		<input type="hidden" name="albumId" value="${album.id}">
	    <input type="submit" id="fileUpload_0" value="Submit"/>
		</form>
    </div>
	<div class="ablum-infor-box ablum-infor-fri">
		<div class="ablum-infor">
			<h1>
				${album.albumName}<span class="num">(${album.pictures.size()}张照片)</span>
			</h1>
			<p id="describeAlbum" class="describe">

				还没有相册描述... <a
					href="http://photo.renren.com/photo/278271144/album-567951954/edit"
					data-info="{album:567951954,owner:278271144}">编辑</a>
			</p>

		</div>
	</div>
	<!-- the first tabs -->
	<div class="photo-list my-list" id="tabview_4_2" style="">


		<div class="first-page clearfix">
			<ul>
				<#list album.pictures as picture>
				<li>
					<a style="cursor: move" href="#nogo" class="picture">
					 <img src="/Wyn/album/loadImage?fileId=${picture.fileId}"/>
					</a>
					<div class="myphoto-info">
						<span class="descript">${picture.fileName}</span>
					</div>
				</li>
				</#list>
			</ul>
		</div>
		<!-- end of first-page -->

	</div>
	<!-- end of  photo-list-->
	<!-- end of the first tab -->
	<!-- the next tabs -->
	<div class="photo-home" style="display: none;" id="tabview_4_4">

		<div id="no-cmt-tip" class="j-no-cmt-tip photoNote"
			style="display: none">
			<p>当前相册还没有照片被评论，看看全部照片吧</p>
		</div>

		<div class="review-mode">
			<ul>

				<li id="cmtmode-5555586273" class="clearfix"
					data-info="{album:567951954, photo:5555586273, owner:278271144, commentcount:1}">
					<div class="comments-box">
						<div class="comments-opre">
							<span>2012年02月05日</span> <a href="javascript:void(0)"
								class="share_new"
								data-share="{stype:'create_share_feed', id:5555586273, owner:278271144, type:'photo'}">分享</a><span
								class="pipe"> </span>
						</div>
						<div id="comments_box_5555586273" class="min-cmtbox statustab"></div>
					</div> <a class="pic"
					href="http://photo.renren.com/photo/278271144/photo-5555586273">
						<img alt="森林" class="loading"
						data-src="http://fmn.rrimg.com/fmn061/20120205/2055/p_large_aYrG_314d0000bc6d125e.jpg"
						src="http://s.xnimg.cn/imgpro/indicator/loading.gif">
				</a>
				</li>

				<li id="cmtmode-5555586274" class="clearfix"
					data-info="{album:567951954, photo:5555586274, owner:278271144, commentcount:0}">
					<div class="comments-box">
						<div class="comments-opre">
							<span>2012年02月05日</span> <a href="javascript:void(0)"
								class="share_new"
								data-share="{stype:'create_share_feed', id:5555586274, owner:278271144, type:'photo'}">分享</a><span
								class="pipe"> </span>
						</div>
						<div id="comments_box_5555586274" class="min-cmtbox statustab"></div>
					</div> <a class="pic"
					href="http://photo.renren.com/photo/278271144/photo-5555586274">
						<img alt="荷花荷叶" class="loading"
						data-src="http://fmn.rrimg.com/fmn057/20120205/2055/p_large_FjKH_314d0000bc6e125e.jpg"
						src="http://s.xnimg.cn/imgpro/indicator/loading.gif">
				</a>
				</li>

				<li id="cmtmode-5555586275" class="clearfix"
					data-info="{album:567951954, photo:5555586275, owner:278271144, commentcount:0}">
					<div class="comments-box">
						<div class="comments-opre">
							<span>2012年02月05日</span> <a href="javascript:void(0)"
								class="share_new"
								data-share="{stype:'create_share_feed', id:5555586275, owner:278271144, type:'photo'}">分享</a><span
								class="pipe"> </span>
						</div>
						<div id="comments_box_5555586275" class="min-cmtbox statustab"></div>
					</div> <a class="pic"
					href="http://photo.renren.com/photo/278271144/photo-5555586275">
						<img alt="晚霞" class="loading"
						data-src="http://fmn.rrimg.com/fmn061/20120205/2055/p_large_EKfB_314d0000bc6f125e.jpg"
						src="http://s.xnimg.cn/imgpro/indicator/loading.gif">
				</a>
				</li>

				<li id="cmtmode-5555586276" class="clearfix"
					data-info="{album:567951954, photo:5555586276, owner:278271144, commentcount:0}">
					<div class="comments-box">
						<div class="comments-opre">
							<span>2012年02月05日</span> <a href="javascript:void(0)"
								class="share_new"
								data-share="{stype:'create_share_feed', id:5555586276, owner:278271144, type:'photo'}">分享</a><span
								class="pipe"> </span>
						</div>
						<div id="comments_box_5555586276" class="min-cmtbox statustab"></div>
					</div> <a class="pic"
					href="http://photo.renren.com/photo/278271144/photo-5555586276">
						<img alt="群山" class="loading"
						data-src="http://fmn.rrfmn.com/fmn058/20120205/2055/p_large_77sJ_314d0000bc70125e.jpg"
						src="http://s.xnimg.cn/imgpro/indicator/loading.gif">
				</a>
				</li>

			</ul>
		</div>
	</div>

	<div class="user-comment" id="albumCommentBox">


		<div class="replies">
			<dl id="ILike_Box" class="replies  with-arrow">
				<dt class="digged" style="display: none;">
					<span id="ILike_Text_567951954"></span>
				</dt>
				<dd id="ILike_Detail_567951954" class="diggers"
					style="display: none;"></dd>
			</dl>
			<dl class="replies">
				<dt style="display: none;" class="digged"></dt>
				<dd style="display: none;" class="diggers"></dd>
			</dl>
		</div>
		<div class="replies" id="comment_box">
			<dl class="replies">
				<dt style="display: none;" class="show-all" id="showMore">
					<a style="width: 108px;" id="showMoreComments" href="javascript:;">显示较早之前的评论</a><span
						style="visibility: hidden;" id="tempLoading">加载中&nbsp;<img
						src="http://s.xnimg.cn/imgpro/bg/indicator_blue_small.gif"></span>
				</dt>
			</dl>
			<div id="commContainer" style="">
				<dl class="replies">
					<dd id="talk192017026">
						<a class="avatar" title="吴明"
							href="http://www.renren.com/profile.do?id=278271144"><img
							onload="clipImage(this)" height="50" width="50" alt="吴明"
							class="avatar"
							src="http://hdn.xnimg.cn/photos/hdn221/20120205/2100/tiny_PwXT_383917m019118.jpg"></a>
						<div class="info">
							<span class="float-right" style="width: 15px"> <a
								comorder="{type:'del',id:'192017026',owner:'278271144'}"
								class="x-to-hide" onclick="return false;" href="#nogo" alt="删除"></a></span>
							<span class="author me"><a title="吴明"
								href="http://www.renren.com/profile.do?id=278271144" class="">吴明</a></span>
							<span class="time">2012-02-05 21:03</span>
						</div>
						<div class="reply">
							<p class="content">1234</p>
						</div>
					</dd>
				</dl>
			</div>
		</div>
		<div style="display: none;" class="errors_div ajax_msgerror"
			id="ajax_msgerror"></div>
		<form id="commentEditorForm">
			<div class="commentinalbum clearfix" id="comment">
				<div class="user-avatar">
					<img class="avatar"
						src="http://hdn.xnimg.cn/photos/hdn221/20120205/2100/tiny_PwXT_383917m019118.jpg"
						alt="吴明">
				</div>
				<div class="m-editor" id="miniEditor">
					<div class="m-editor-textarea">
						<textarea name="body" id="cmtbody" eicons_obj_id="5"></textarea>
					</div>
					<div class="m-editor-submit">
						<input id="editorFormBtn" type="button" value="发表评论"
							class="input-button">

					</div>
				</div>